package dao;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

import entity.Employee;

public interface EmployeeDao {

	void addEmployee(Connection connection,String sql,Object...args) throws SQLException;
	
	void deleteEmployee(Connection connection,String sql,Object...args) throws SQLException;

	void updateEmployee(Connection connection,String sql,Object...args) throws SQLException;

	Employee getEmployeeByEmpId(Connection connection, String sql,Class<Employee> clazz,Object...args) throws SQLException;
	
	List<Employee> getEmployeeList(Connection connection, String sql,Class<Employee> clazz,Object...args) throws SQLException;
	
	Integer getCount(Connection connection,String sql) throws SQLException ;
}
